/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.dorian.atomicuml.dao.interfaces;

import com.dorian.atomicuml.orm.Diagramms;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 *
 * @author cedric.creusot
 */
@Transactional(propagation= Propagation.REQUIRED)
public interface DiagrammsManager {
    public int createDiagramms(String name, String description, Integer editorId);
    public Diagramms getDiagramms(int id);
    public Diagramms getDiagramms(int id, String name);
    public boolean updateDiagramms(Diagramms diagramms);
    public boolean deleteDiagramms(int id);
    public boolean deleteDiagramms(Diagramms diagramms);
}
